﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AUTO.TechnicalDependence.Dto
{

    /// <summary>
    /// 报表导出-性能测试
    /// </summary>
    [ExcelExporter(Name = "AUTO新销售技术依赖书流程报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class ExportTD2Output
    {
        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SerialNumber { get; set; }

        /// <summary>
        /// 流程编号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 接收工厂
        /// </summary>
        [ExporterHeader(DisplayName = "接收工厂")]
        public string ReceiveFactory { get; set; }

        ///// <summary>
        ///// 事业部
        ///// </summary>
        //[ExporterHeader(DisplayName = "事业部")]
        //public string AppoverType { get; set; }
        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "行业")]
        public string AutoType { get; set; }
        ///// <summary>
        ///// 细分市场
        ///// </summary>
        //[ExporterHeader(DisplayName = "细分市场")]
        //public string SubAutoType { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 流程创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "流程创建时间")]
        public string CreateTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 销售依赖书需求
        /// </summary>
        [ExporterHeader(DisplayName = "销售依赖书需求")]
        public string SalesDependencyType { get; set; }

        /// <summary>
        /// 检测项目名称
        /// </summary>
        [ExporterHeader(DisplayName = "检测项目名称")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 检测方
        /// </summary>
        [ExporterHeader(DisplayName = "检测方")]
        public string TestParty { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        [ExporterHeader(DisplayName = "产品编码")]
        public string ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [ExporterHeader(DisplayName = "产品名称")]
        public string ProductName { get; set; }

        /// <summary>
        /// 检测项目需完成时间
        /// </summary>
        [ExporterHeader(DisplayName = "检测项目需完成时间")]
        public string CompletionTime { get; set; }

        /// <summary>
        /// 检测项目实际完成时间
        /// </summary>
        [ExporterHeader(DisplayName = "检测项目实际完成时间")]
        public string ActualCompletionTime { get; set; }

        /// <summary>
        /// 产品担当开发意见
        /// </summary>
        [ExporterHeader(DisplayName = "产品担当开发意见")]
        public string Suggestion { get; set; }

        /// <summary>
        /// 是否满意
        /// </summary>
        [ExporterHeader(DisplayName = "是否满意")]
        public string IsSatisfied { get; set; }

        /// <summary>
        /// 不满意原因
        /// </summary>
        [ExporterHeader(DisplayName = "不满意原因")]
        public string Reason { get; set; }

    }
}
